package com.example.demo_helloworld.test1;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: gs
 * @Date: 2023/12/5 20:58
 * @Version: v1.0.0
 * @Description: TODO
 **/
@RestController
@RequestMapping("/test")
public class helloWorld {

    @GetMapping("/hello")
    public String hello(){

        System.out.println("hello");
        return "hello,你好！";
    }
}
